From: Jasper St. Pierre Date: Sat, 18 May 2013 23:23:46 +0000 (-0400) Subject: layout: Remove use of skip_paint X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4138 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=402f2d939cc33f5a7d17f187c0ea49aa9b229563;p=gnome-shell.git layout: Remove use of skip_paint We no longer use this on the uiGroup. https://bugzilla.gnome.org/show_bug.cgi?id=700735 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 7ae6d49d4..0d339d921 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -960,13 +960,8 @@ const LayoutManager = new Lang.Class({ w = Math.round(w); h = Math.round(h); - if (actorData.affectsInputRegion && wantsInputRegion) { - let rect = new Meta.Rectangle({ x: x, y: y, width: w, height: h}); - - if (actorData.actor.get_paint_visibility() && - !this.uiGroup.get_skip_paint(actorData.actor)) - rects.push(rect); - } + if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility()) + rects.push(new Meta.Rectangle({ x: x, y: y, width: w, height: h })); if (actorData.affectsStruts) { // Limit struts to the size of the screen